<?php

/**
 * VC_DB is designed for usage not only in WP. Probably, it will be implemented for other CMS also.
 */
interface VC_DB {
	/**
	 * Fetches raw statistics from database
	 *
	 * @param integer $id
	 * @return array
	 */
	public function fetch_stat($id);
	
	/**
	 * Stores processed data to database
	 *
	 * @param integer $id
	 * @param array $stat
	 */
	public function store_stat($id, $stat);
}
?>